package com.pan.basic;

import org.apache.commons.lang.time.DateUtils;

import java.text.ParseException;

/**
 * @author Administrator
 * @date 2023/11/8
 * @description
 **/
public class DateTest {

  public static void main(String[] args) throws ParseException {
    //
      String[] patten = {"yyyy-MM-dd"};
      String s = DateUtils.parseDate("2023-08-11", patten).toString();
    System.out.println(s);
  }
}
